import http from '../config/httpconfig';
import IP from '../config/config'


/**
 * 查询探访类型
 */
 export const req_adminLogin = params => http.post('/syslogin/adminLogin', params)

 /**
 * 上传图片
 */
  export const uploadImage = () => `${IP.host}/approvalrecord/uploadImage`

  export const uploadImagePh= (params) => {
      return http.upload('/approvalrecord/uploadImage', params)
  }